package com.glodon.paas.monitor.server.biz.mapper;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Param;

import com.glodon.paas.monitor.server.biz.domain.MonitorSendRulesEntity;
import com.glodon.paas.monitor.server.dto.MonitorSendRulesDTO;

public interface MonitorSendRulesMapper {

	int deleteByPrimaryKey(Long id);

	int deleteByAlarmId(@Param("alarmId") Long alarmId);

	int deleteByItemId(@Param("itemId") Long itemId);

	int insert(MonitorSendRulesEntity record);

	int insertSelective(MonitorSendRulesEntity record);

	MonitorSendRulesEntity selectByPrimaryKey(Long id);

	ArrayList<MonitorSendRulesEntity> queryMonitorSend(MonitorSendRulesDTO monitorSendRulesDTO);

	int updateByPrimaryKeySelective(MonitorSendRulesEntity record);

	int updateByPrimaryKey(MonitorSendRulesEntity record);
}